package com.zhoukai.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @Description 字典实体类
 * @Author Mr.ZHOU
 * @Date Created in 2021/12/27 10:29
 */
@ApiModel(value = "com-zhoukai-dto-DictTypeDto")
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class DictTypeDto extends BaseDto{
    /**
     * 字典主键
     */
    @ApiModelProperty(value="字典主键")
    private Long dictId;

    /**
     * 字典名称
     */
    @ApiModelProperty(value="字典名称")
    @NotBlank(message = "字典名称不能为空")
    private String dictName;

    /**
     * 字典类型
     */
    @ApiModelProperty(value="字典类型")
    @NotBlank(message = "字典类型不能为空")
    private String dictType;
    /**
     * 状态（0正常 1停用）
     */
    @NotBlank(message = "字典状态不能为空")
    private String status;
    /**
     * 备注
     */
    @ApiModelProperty(value="备注")
    private String remark;


}
